
%%==============================%%
%%                              %%
%%      BNP Macro OA            %%
%%                              %%
%%==============================%%

%---------- format -----------------%

\setlength{\textwidth}{17cm}
\setlength{\hoffset}{-2cm}
\setlength{\textheight}{24cm}
\setlength{\voffset}{-2cm}

\renewcommand{\theenumi}{\roman{enumi}}
\renewcommand{\labelenumi}{\upshape(\theenumi)}
\renewcommand{\labelitemi}{--}

\newenvironment{Thc}[1]{\smallskip\par\noindent\textsc{#1}\quad\begin{em}}%
  {\end{em}\bigskip\par}
\newenvironment{Remc}[1]{\smallskip\par\noindent\textsc{#1}\quad}%
  {\bigskip\par}

\newcommand{\titre}[1]{\par\centerline{\bfseries\LARGE #1}\par\vskip5em}
\newcommand{\auteur}[1]{\vskip-1em\par\centerline{#1}\par\vskip5em}
\newcommand{\version}[1]{\vskip-4em\par\centerline{#1}\par\vskip5em}
\newcommand{\tbc}{{\quad\textbf{To be checked}\qquad}}
\newcommand{\tbcc}[1]{{\quad\textbf{To be checked : #1}\qquad}}
\newcommand{\fig}[1]{\par\bigskip\centerline{\textsf{Figure :\qquad #1}}\par\bigskip}

\newcommand{\defi}[1]{\textsf{#1}}
\newcommand{\code}[1]{\textsf{#1}}
\newcommand{\warning}[1]{\textbf{#1}}
\newcommand{\reference}[1]{\par\noindent{[\small #1]}\par\vskip1em}
\newcommand{\spr}[1]{\par\noindent{[\small #1]}\par\vskip1em}
\newcommand{\tpr}[1]{\qquad{[\small #1]}}
\newenvironment{note}[1]{\smallskip\par\noindent\textbf{#1}\qquad}{\par\vskip1em}
\newcommand{\subtitle}[1]{\par\vskip1em\noindent{\textsf{\em #1}}\par\bigskip}

\newcommand{\dsty}{\displaystyle}
\newcommand{\qtexte}[1]{\quad\text{#1}\enskip}
\newcommand{\qtextq}[1]{\quad\text{#1}\quad}
\newcommand{\qqtextq}[1]{\qquad\text{#1}\quad}
\newcommand{\qtextqq}[1]{\qquad\text{#1}\qquad}
\newcommand{\qqtextqq}[1]{\qquad\text{#1}\qquad}
\newcommand{\inq}{\qtexte{in}}


\newcommand{\appr}{\textrm{approx}}
\newcommand{\asw}{\textrm{asw}}
\newcommand{\ASW}{\textrm{ASW}}
\newcommand{\ATM}{\textrm{ATM}}
\newcommand{\BF}{\textrm{BF}}
\newcommand{\BMA}{{\operatorname{\textrm{BMA}}}}
\newcommand{\BS}{{\operatorname{\textrm{BS}}}}
\newcommand{\CA}{{\textrm{CA}}}
\newcommand{\Cash}{\textrm{Cash}}
\newcommand{\CDF}{{\operatorname{\;\textrm{CDF}}}}
\newcommand{\CDS}{{\operatorname{\textrm{CDS}}}}
\newcommand{\CEV}{{\operatorname{\textrm{CEV}}}}
\newcommand{\CF}{{\operatorname{\textrm{CF}}}}
\newcommand{\CLVL}{{\operatorname{\;\textrm{CLVL}}}}
\newcommand{\CMS}{{\operatorname{\textrm{CMS}}}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%% My Added %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\Swaption}{{\operatorname{\textrm{Swaption}}}}
\newcommand{\CMSOption}{{\operatorname{\textrm{CMSOption}}}}
\newcommand{\FwdCMSOption}{{\operatorname{\textrm{FwdCMSOption}}}}
\newcommand{\FV}{{\operatorname{\textrm{FV}}}}
\newcommand{\NonQto}{{\operatorname{\textrm{NonQto}}}}
\newcommand{\FwdLVL}{{\operatorname{\textrm{FwdLVL}}}}
\newcommand{\FwdCLVL}{{\operatorname{\textrm{FwdCLVL}}}}
\newcommand{\CashSettledSwaption}{{\operatorname{\textrm{CashSettledSwaption}}}}
\newcommand{\Straddle}{{\operatorname{\textrm{Straddle}}}}
\newcommand{\E}{{\operatorname{\textrm{E}}}}
\newcommand{\Prob}{{\operatorname{\textrm{P}}}}
\newcommand{\Fwd}{{\operatorname{\textrm{Fwd}}}}
\newcommand{\spd}{{\operatorname{\textrm{spd}}}}
\newcommand{\var}{{\operatorname{\textrm{var}}}}
\newcommand{\Max}{{\operatorname{\textrm{Max}}}}
\newcommand{\Min}{{\operatorname{\textrm{Min}}}}
\newcommand{\FwdSwaption}{{\operatorname{\textrm{FwdSwaption}}}}

\newcommand{\CarryCash}{{\operatorname{\textrm{CarryCash}}}}
\newcommand{\CarryLevelDelta}{{\operatorname{\textrm{CarryLevelDelta}}}}
\newcommand{\CarryDelta}{{\operatorname{\textrm{CarryDelta}}}}
\newcommand{\CarrySigmaBeta}{{\operatorname{\textrm{CarrySigmaBeta}}}}
\newcommand{\CarryAlpha}{{\operatorname{\textrm{CarryAlpha}}}}
\newcommand{\CarryBeta}{{\operatorname{\textrm{CarryBeta}}}}
\newcommand{\CarryRho}{{\operatorname{\textrm{CarryRho}}}}
\newcommand{\CarryZeta}{{\operatorname{\textrm{CarryZeta}}}}
\newcommand{\CarryThetaAnalytic}{{\operatorname{\textrm{CarryThetaAnalytic}}}}
\newcommand{\CarryThetaPDE}{{\operatorname{\textrm{CarryThetaPDE}}}}
\newcommand{\CarryThetaOption}{{\operatorname{\textrm{CarryThetaOption}}}}
\newcommand{\PredictedGlobalTheta}{{\operatorname{\textrm{PredictedGlobalTheta}}}}

\newcommand{\LVA}{{\textrm{LVA}}}
\newcommand{\EURM}{\textrm{EUR3M}}
\newcommand{\EURtM}{\textrm{EURIBO3}}
\newcommand{\EURsM}{\textrm{EURIBO6}}
\newcommand{\EURUnsecure}{\textrm{EURUnsecure}}
\newcommand{\ZCSPD}{{\textrm{ZCSPD}}}
\newcommand{\FxFwd}{{\textrm{FxFwd}}}
\newcommand{\Mkt}{{\textrm{Mkt}}}
\newcommand{\Mdl}{{\textrm{Mdl}}}
\newcommand{\VolFwdMdl}{{\operatorname{\textrm{VolFwdMdl}}}}
\newcommand{\VolFwdMkt}{{\operatorname{\textrm{VolFwdMkt}}}}
\newcommand{\Tr}{{\operatorname{\textrm{Tr}}}}

\newcommand{\tol}{{\operatorname{\textrm{tol}}}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\CMSTEC}{{\operatorname{\textrm{CMSTEC}}}}
\newcommand{\CMT}{{\operatorname{\textrm{CMT}}}}
\newcommand{\Cor}{\operatorname{\textrm{Cor}}}
\newcommand{\Cov}{\operatorname{\textrm{Cov}}} %covariance
\newcommand{\cov}{\operatorname{\textrm{cov}}} %coverage
\newcommand{\CSA}{{\textrm{CSA}}}
\newcommand{\cste}{\textrm{cste}}
\newcommand{\DigitC}{{\operatorname{\textrm{DC}}}}
\newcommand{\DF}{{\operatorname{\;\textrm{DF}}}}
\newcommand{\DigitP}{{\operatorname{\textrm{DP}}}}
\newcommand{\DRI}{{\operatorname{\textrm{DRI}}}}
\newcommand{\DRS}{{\operatorname{\textrm{DRS}}}}
\newcommand{\DS}{{\operatorname{\textrm{DS}}}}
\newcommand{\diag}{\operatorname{\textrm{diag}}}
\newcommand{\DOM}{\textrm{DOM}}
\newcommand{\EUR}{\textrm{EUR}}
\newcommand{\EURKRW}{\textrm{EURKRW}}
\newcommand{\EUROIS}{\textrm{EUROIS}}
\newcommand{\EURUSD}{\textrm{EURUSD}}
\newcommand{\Fix}{\textrm{Fix}}
\newcommand{\Flt}{\textrm{Flt}}
\newcommand{\FOR}{\textrm{FOR}}
\newcommand{\FP}{\operatorname{\textrm{FP}}}
\newcommand{\FRA}{\operatorname{\textrm{FRA}}}
\newcommand{\FX}{\textrm{FX}}
\newcommand{\IR}{\textrm{IR}}
\newcommand{\CM}{\textrm{CM}}
\newcommand{\EQ}{\textrm{EQ}}
\newcommand{\Leverage}{\textrm{Leverage}}
\newcommand{\FXPerf}{\textrm{FXPerf}}
\newcommand{\IRPerf}{\textrm{IRPerf}}
\newcommand{\EQPerf}{\textrm{EQPerf}}
\newcommand{\CMPerf}{\textrm{CMPerf}}
\newcommand{\Perf}{\textrm{Perf}}
\newcommand{\FwdFX}{\textrm{FwdFX}}
\newcommand{\FwdS}{\textrm{FwdS}}
\newcommand{\IB}{{\textrm{IB}}}
\newcommand{\ID}{{\textrm{ID}}}
\newcommand{\imp}{\textrm{imp}}
\newcommand{\Infla}{\operatorname{\textrm{Infl}}}
\newcommand{\iid}{\textrm{i.i.d.}}
\newcommand{\KRW}{\textrm{KRW}}
\newcommand{\LN}{{\operatorname{\textrm{LN}}}}
\newcommand{\loc}{\textrm{loc}}
\newcommand{\LogN}{{\textrm{LogN}}}
\newcommand{\LVL}{{\operatorname{\;\textrm{LVL}}}}
\newcommand{\MktPrem}{{\operatorname{\textrm{MktPrem}}}}
\newcommand{\NBS}{{\operatorname{\textrm{NBS}}}}
\newcommand{\Not}{\textrm{Not}}
\newcommand{\NPV}{\textrm{NPV}}
\newcommand{\NVol}{\operatorname{\textrm{NVol}}}
\newcommand{\OTC}{\textrm{OTC}}
\newcommand{\ONR}{\operatorname{\textrm{ONR}}}
\newcommand{\Params}{{\operatorname{\textrm{Prms}}}}
\newcommand{\POTC}{\textrm{POTC}}
\newcommand{\pp}{\textrm{p.p.}}
\newcommand{\PV}{{\operatorname{\textrm{PV}}}}
\newcommand{\Qto}{\textrm{Qto}}
\newcommand{\RDF}{{\operatorname{\textrm{RDF}}}}
\newcommand{\realiz}{\textrm{real}}
\newcommand{\Repo}{{\operatorname{\textrm{Repo}}}}
\newcommand{\rk}{\textrm{rk}}
\newcommand{\RLVL}{{\operatorname{\textrm{RLVL}}}}
\newcommand{\RP}{{\textrm{RP}}}
\newcommand{\RR}{\textrm{RR}}
\newcommand{\spot}{\textrm{spot}}
\newcommand{\SL}{\textrm{SL}}
\newcommand{\SLP}{\textrm{SLP}}
\newcommand{\SV}{\textrm{SV}}
\newcommand{\Swap}{{\operatorname{\textrm{Swap}}}}
\newcommand{\tr}{{\operatorname{\textrm{tr}}}}
\newcommand{\Unif}{\operatorname{\textrm{Unif}}}
\newcommand{\USD}{\textrm{USD}}
\newcommand{\USDKRW}{\textrm{USDKRW}}
\newcommand{\USDOIS}{\textrm{USDOIS}}
\newcommand{\Var}{\operatorname{\textrm{Var}}}
\newcommand{\Varh}{\operatorname{\widehat{\textrm{Var}}}}
\newcommand{\vol}{\operatorname{\textrm{vol}}}


\newcommand{\moins}{\backslash}
\newcommand{\fois}{\times}
\newcommand{\reel}{\operatorname{\mathrm{Re}}}
\newcommand{\imag}{\operatorname{\mathrm{Im}}}
\newcommand{\skewness}{\operatorname{\mathrm{Skew}}}
\newcommand{\cond}{\mid}


\newcommand{\simp}{{\s^{\textrm{imp}}}}

\newcommand{\demi}{\frac{1}{2}}
\newcommand{\iy}{\infty}
\newcommand{\inv}{{-1}}
\newcommand{\N}{{\mathbb{N}}}
\newcommand{\R}{{\mathbb{R}}}
\newcommand{\Rn}{{\R^n}}
\newcommand{\C}{{\mathbb{C}}}
\newcommand{\p}{{\partial}}

\renewcommand{\a}{\alpha}
\renewcommand{\b}{\beta}
\newcommand{\g}{\gamma}
\newcommand{\G}{\Gamma}
\renewcommand{\d}{\delta}
\newcommand{\D}{\Delta}
\newcommand{\e}{\epsilon}
\renewcommand{\epsilon}{\varepsilon}
\renewcommand{\l}{\lambda}
\renewcommand{\L}{\Lambda}
\newcommand{\Rho}{{\textrm{Rho}}}
\newcommand{\rhob}{{\boldsymbol{\rho}}}
\newcommand{\s}{\sigma}
\renewcommand{\S}{\Sigma}
\renewcommand{\th}{\theta}
\newcommand{\Th}{\Theta}
\newcommand{\ups}{\upsilon}
\newcommand{\Vega}{{\textrm{Vega}}}
\newcommand{\Volga}{{\textrm{Volga}}}
\newcommand{\Vanna}{{\textrm{Vanna}}}
\newcommand{\om}{\omega}
\newcommand{\Om}{\Omega}

\newcommand{\alo}{{\overline{\alpha}}}
\newcommand{\Co}{{\overline{C}}}
\newcommand{\gamo}{{\overline{\gamma}}}
\newcommand{\deo}{{\overline{\d}}}
\newcommand{\Fo}{{\overline{F}}}
\newcommand{\Ho}{{\overline{H}}}
\newcommand{\Ko}{{\overline{K}}}
\newcommand{\lamo}{{\overline{\lambda}}}
\newcommand{\Lamo}{{\overline{\Lambda}}}
\newcommand{\omo}{{\overline{\om}}}
\newcommand{\qo}{{\overline{q}}}
\newcommand{\Ro}{\overline{R}}
\newcommand{\ro}{\overline{r}}
\newcommand{\rhoo}{{\overline{\rho}}}
\newcommand{\sio}{{\overline{\s}}}
\newcommand{\Sio}{{\overline{\S}}}
\newcommand{\So}{{\overline{S}}}
\newcommand{\Tho}{{\overline{\Theta}}}
\newcommand{\tho}{{\overline{\th}}}
\newcommand{\To}{{\overline{T}}}
\newcommand{\vo}{{\overline{v}}}
\newcommand{\Wo}{{\overline{W}}}
\newcommand{\Xo}{{\overline{X}}}
\newcommand{\xo}{{\overline{x}}}
\newcommand{\so}{{\overline{s}}}
\newcommand{\yo}{{\overline{y}}}
\newcommand{\Yo}{{\overline{Y}}}
\newcommand{\Zo}{{\overline{Z}}}

\newcommand{\Ku}{{\underline{K}}}


\newcommand{\pti}{\widetilde{p}}
\newcommand{\vt}{\widetilde{v}}
\newcommand{\Wt}{\widetilde{W}}
\newcommand{\xt}{\widetilde{x}}
\newcommand{\Yt}{\widetilde{Y}}
\newcommand{\alt}{\widetilde{\a}}
\newcommand{\rhot}{\widetilde{\rho}}
\newcommand{\sit}{\widetilde{\s}}
\newcommand{\Sit}{\widetilde{\S}}

\newcommand{\Ch}{{\widehat{C}}}
\newcommand{\Eh}{{\widehat{E}}}
\newcommand{\fh}{{\widehat{f}}}
\newcommand{\gh}{{\widehat{g}}}
\newcommand{\Nh}{{\widehat{N}}}
\newcommand{\Ph}{{\widehat{P}}}
\newcommand{\Qh}{{\widehat{Q}}}
\newcommand{\rh}{{\widehat{r}}}
\newcommand{\sih}{{\widehat{\s}}}
\newcommand{\Xh}{{\widehat{X}}}
\newcommand{\Yh}{{\widehat{Y}}}

\newcommand{\cE}{\mathcal{E}}
\newcommand{\cF}{\mathcal{F}}
\newcommand{\cL}{\mathcal{L}}
\newcommand{\cN}{\mathcal{N}}
\newcommand{\cH}{\mathcal{H}}
